

SET(JRTP_LIBRARY_DIR ${THIRD_PARTY}/jrtplib/lib)

if (WIN32)
	SET(JRTP_INCLUDE ${THIRD_PARTY}/jrtplib/include/jrtplib3)
	SET(JRTP_LIBRARIES debug jrtplib_d optimized jrtplib)
else (WIN32)
	SET(JRTP_INCLUDE ${THIRD_PARTY}/jrtplib/linux/jrtplib3)
	SET(JRTP_LIBRARIES jrtp)
	
	if (CMAKE_TOOLCHAIN_FILE)
		add_definitions(-DCMAKE_CROSSCOMPILING=1)
		set(JRTPLIB_USE_BIGENDIAN OFF)
	endif()

endif (WIN32)